package org.southyin.service.impl;
import org.southyin.mapper.CmsCategoryMapper;
import org.southyin.model.CmsCategory;
import org.southyin.service.CmsCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
@Service
@Transactional
public class CmsCategoryServiceImpl implements CmsCategoryService {
    @Autowired
    CmsCategoryMapper dao;
    public List<CmsCategory> listCmsCategory() {
        return dao.listCmsCategory();
    }
}
